package com.qw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Arnold Yand
 * @since Jan 1, 2018 4:31:59 PM
 * @summary com.qw.page.controller.PortalController.java
 */
@Controller
@RequestMapping("/portal")
public class PortalController {

  @RequestMapping("/test")
  @ResponseBody
  public String index_test() {
    return "ok...";
  }

  @RequestMapping("/index")
  public String index() {
    return "qw/portal/index";
  }

}
